import Fluent

struct CreateProject: Migration {
    func prepare(on database: Database) -> EventLoopFuture<Void> {
        database.schema("project")
            .id()
            .field("customLogoID", .string)
            .field("demo", .bool)
            .field("name", .string)
            .field("ownersEMailAddress", .string)
            .field("tag", .string)
            .create()        
    }
    
    
    func revert(on database: Database) -> EventLoopFuture<Void> {
        database.schema("project").delete()
    }
    
}
